module.exports = {
  // 打包路径
  publicPath: process.env.NODE_ENV === 'production' ? './' : './',
  css: {
    loaderOptions: {
      less: {
        javascriptEnabled: true
      },
      postcss: {
        plugins: [require('postcss-px2rem')({
            remUnit: 16
        })]
      }
    }
  }
}